var weakSet = new WeakSet();
var symbol = Symbol();

// weakSet.add(symbol)
let obj = {};
let window = {};
weakSet.add(obj);
weakSet.add(window);

console.log(weakSet.has(obj));
console.log(weakSet.delete(obj));
console.log(weakSet.has(obj));
